package com.sdk4.jinritemai.model.bean;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author huangji
 * @date 2021/7/27 9:54
 * 解密返回报文
 */
@Getter
@Setter
public class DoudianOrderBatchDecryptResult implements Serializable {

    private List<DecryptInfos> decrypt_infos;

    private customErr custom_err;


    @Getter
    @Setter
    public static class DecryptInfos {
        /**
         * 鉴权id
         */
        private String auth_id;
        /**
         * 密文
         */
        private String cipher_text;
        /**
         * 明文
         */
        private String decrypt_text;
        /**
         * 错误码
         */
        private Integer err_no;
        /**
         * 业务错误
         */
        private String err_msg;
    }


    @Getter
    @Setter
    public static class customErr {
        private Integer err_code;
        private String err_msg;
    }
}
